package lch.dao;

import com.github.pagehelper.Page;
import lch.entity.Result;
import lch.pojo.Permission;

import java.util.List;

/**
 * @author lch
 * @date 2019-12-19 20:32
 */
public interface CheckPermissionDao {
    public void add(Permission permission);

    public Page<Permission> selectByCondition(String queryString);

//    long findCountByPermissionId(Integer id);

    void deleteById(Integer id);

    Permission findById(Integer id);

    void edit(Permission permission);

    List<Permission> findAll();
}
